package com.flying.learning.exporter;

import io.prometheus.client.exporter.HTTPServer;
import io.prometheus.client.hotspot.DefaultExports;

import java.io.IOException;

public class AloneExporter {
    public static void main(String[] args) throws IOException {
        new CustomCollector().register();
        new CustomCollector2().register();
        DefaultExports.initialize();
        HTTPServer server = new HTTPServer(1234);
    }
}
